package models

// 行参
type PmCityDB struct {
	WorkType string `json:"workType" binding:"required"`
	WorkCity string `json:"workCity" binding:"required"`
	IsDB     string `json:"useMysqlRedis"`
}

// 行参
type PmSetScore struct {
	WorkType      string `json:"workType" binding:"required"`
	WorkCity      string `json:"workCity" binding:"required"`
	UseMysqlRedis string `json:"useMysqlRedis"`
	Score         string `json:"score"`
}

type PmCity struct {
	CityName string `json:"cityName" binding:"required"`
	CityCode string `json:"cityCode" binding:"required"`
}

type PmArea struct {
	Address string `json:"address" binding:"required"`
}

type PmBrand struct {
	BrandName string `json:"job_name" binding:"required"`
}

type PmTask struct {
	TaskName string `json:"task_name" binding:"required"`
	TaskKey  string `json:"task_key" binding:"required"`
}

// err msg chan
type ErrMsg struct {
	Err error
	Msg string
}

type JobDes struct {
	GwZz string
}
type StopTask struct {
	Stop       bool   //是否结束
	TaskStatus string //任务状态（是否结束）
}

type UPLoginRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type MobileLoginRequest struct {
	Mobile string `json:"mobile"`
	Sms    string `json:"sms"`
}

type Ptd struct {
	Id string `json:"id"`
}

type RegRequest struct {
	Mobile string `json:"mobile"`
	//Email    string `json:"email"`
	Nickname string `json:"nickname"`
	Password string `json:"password"`
	Sms      string `json:"sms"`
}

type SendSmsRequest struct {
	Mobile string `json:"mobile"`
}

type UpPwdRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Mobile   string `json:"mobile"`
	Sms      string `json:"sms"`
}

type UpPwdRequest1 struct {
	//Username string `json:"username"`
	Password string `json:"password"`
	Mobile   string `json:"mobile"`
	Sms      string `json:"sms"`
}
